package com.xiaoq.sites.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xiaoq.MongoEntity;
import com.xiaoq.sites.vo.TicketTag;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Transient;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Entity(value="interpreter",noClassnameStored=true)
public class InterpreterEntity extends MongoEntity implements Serializable {

	@JsonIgnore
	@Transient
	private static final long serialVersionUID = -5473601730066826972L;

	private String userId;//
	private String sitesId;// 所属景区ID
	private String name;// 姓名
	private String imgUrl;// 照片URL
	private String code;// 编号
	private String levelId;// 级别ID
	private List<String> svcLang;// 服务语言
	private String svcExperience;// 从业经验
	private String idNo;// 身份证号
	private Integer sex;// 性别
	private String birthday;// 出生年月
	private String mobile;// 手机号
	private String weixin;// 微信号
	private String email;// 邮箱
	/**
	 * 讲解员的状态(休假中(不接单)（-1）、服务中（4）、等待服务待付款（1）、等待服务未下单可预约（0）)
	 */
	private Integer status;// 状态(见ConstantUtil)
	private Long price; //单位为分

	/**
	 * 费用说明   (预订须知)
	 */
	private List<TicketTag> bookNotices = new ArrayList<>();

	/**
	 * 讲解员等级【初级、中级、高级、无】
	 */
	private String interLevel;
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getSitesId() {
		return sitesId;
	}
	public void setSitesId(String sitesId) {
		this.sitesId = sitesId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getLevelId() {
		return levelId;
	}
	public void setLevelId(String levelId) {
		this.levelId = levelId;
	}
	public List<String> getSvcLang() {
		return svcLang;
	}
	public void setSvcLang(List<String> svcLang) {
		this.svcLang = svcLang;
	}
	public String getSvcExperience() {
		return svcExperience;
	}
	public void setSvcExperience(String svcExperience) {
		this.svcExperience = svcExperience;
	}
	public String getIdNo() {
		return idNo;
	}
	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getWeixin() {
		return weixin;
	}
	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Long getPrice() {
		return price;
	}
	public void setPrice(Long price) {
		this.price = price;
	}
	public String getInterLevel() {
		return interLevel;
	}
	public void setInterLevel(String interLevel) {
		this.interLevel = interLevel;
	}

	public List<TicketTag> getBookNotices() {
		return bookNotices;
	}

	public void setBookNotices(List<TicketTag> bookNotices) {
		this.bookNotices = bookNotices;
	}
}
